package edu.zut.cs.network.exercise.practice.polymorphic.name;

public class Name {

	public String firstname;
	public String lastname;
	public char mi;

	public Name(String firstname, char mi, String lastname) {
		this.firstname = firstname;
		this.mi = mi;
		this.lastname = lastname;
	}

	public String getFirstname() {
		return firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public char getMi() {
		return mi;
	}

	public String fullName() {
		return firstname + lastname;
	}

}
